package br.com.Opet.PIM.Logger;

import org.apache.log4j.BasicConfigurator;
import org.apache.log4j.Level;
import org.apache.log4j.Logger;

public class LoggerPIM {

		protected static Logger logger = null;
		
		public static Logger getLogger(String txt){
			
			logger = Logger.getLogger(txt);
			BasicConfigurator.configure();
			logger.setLevel(Level.INFO);
			return logger;
			
		}
}

